<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>优惠券添加</title>
    <script src="/jquery/jquery-3.2.1.min.js"></script>
    <script src="/layui/layui.js"></script>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/coupon/list/coupon-list-addCoupon.css"/>
</head>
<body>
    <div class="box" >

        <div class="box-box">
            <div class="list">
                <div class="list-left">
                    <div class="list-left-left"></div>
                    <p class="list-left-right">优惠券列表</p>
                </div>
                <div class="list-right">
                    <div class="list-right-left layui-btn layui-icon layui-icon-refresh" id="Refresh">&nbsp;刷新</div>
                    <div class="list-right-right layui-btn layui-icon layui-icon-left" id="goBack">&nbsp;返回</div>
                </div>
            </div>
            <div style="height: 950px; width: 700px; margin-left:550px ;">
                <form class="layui-form" lay-filter="layForm">
                    <div class="layui-form-item">
                        <label class="layui-form-label">优惠券名称：</label>
                        <div class="layui-input-block">
                            <input id="couponName" type="text" name="couponName" lay-verify="title" autocomplete="off" placeholder="请输入优惠券名称" class="layui-input layInput3">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">优惠券金额（单位/元）：</label>
                        <div class="layui-input-block">
                            <input id="couponPrice" type="text" name="couponPrice" lay-verify="title" autocomplete="off" placeholder="请输入优惠券金额" class="layui-input layInput3">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">开始时间：</label>
                        <div class="layui-input-block">
                            <input id="startDate" type="text" name="startDate" lay-verify="title" autocomplete="off" placeholder="请选择开始时间" class="layui-input layInput3">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">到期时间：</label>
                        <div class="layui-input-block">
                            <input id="endDate" type="text" name="endDate" lay-verify="title" autocomplete="off" placeholder="请选择到期时间" class="layui-input layInput3">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">上线/下线：</label>
                        <div class="layui-input-block" id="online" name="online">
                            <input type="radio" name="online" value="2"  title="上线">
                            <input type="radio" name="online" value="3" checked title="下线">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">发放数量：</label>
                        <div class="layui-input-block">
                            <input id="issueQuantity" type="text" name="issueQuantity" lay-verify="title" autocomplete="off" placeholder="请输入" class="layui-input layInput3">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">优惠券编号：</label>
                        <div class="layui-input-block">
                            <input id="couponCode" type="text" name="couponCode" lay-verify="title" autocomplete="off" placeholder="请输入优惠券编号" class="layui-input layInput3">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">获取方式：</label>
                        <div class="layui-input-inline layInput3"  style="width: 300px;">
                            <select name="grant" lay-filter="grant">
                                <option value="">选择发放方式</option>
                                <option value="2">自动发放</option>
                                <option value="3">活动领取</option>
                                <option value="4">人工发放</option>
                                <option value="5">无限制</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">优惠券类型：</label>
                        <div class="layui-input-inline layInput3"  style="width: 300px;">
                            <select name="type" lay-filter="type">
                                <option value="">选择类型</option>
                                <option value="2">商品</option>
                                <option value="3">视频</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">备注：</label>
                        <div class="layui-input-block">
                            <textarea id="dataDictValue" type="text" name="dataDictValue" lay-verify="title" autocomplete="off" placeholder="请输入备注" class="layui-input layInput35"></textarea>
                        </div>
                    </div>
                </form>
                <div  style=" width: 100px ; height:50px;margin: 0 auto;">
                    <button class="layui-btn" id="submitBtn">提交优惠券</button>
                </div>
            </div>
        </div>
        <!-- 返回 -->
        <p id="title" style="display: none;">添加优惠券</p>
    </div>
</body>
    <script src="/js/coupon/list/coupon-list-addCoupon.js"></script>
</html>